package com.ztgf.commodity.models.vo;

import com.alibaba.fastjson.annotation.JSONField;
import com.alibaba.fastjson.serializer.ToStringSerializer;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ztgf.common.bo.BaseBO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * author: chenyu.wang
 * date: 2020-05-28 14:27
 * Description:
 */
@Data
public class CommodityAuditLogVO extends BaseBO implements Serializable {


    @ApiModelProperty(value = "id")
    @JSONField(serializeUsing = ToStringSerializer.class)
    private Long id;
    @ApiModelProperty("创建人ID")
    private Long createUserId;
    @ApiModelProperty("更新人ID")
    private Long updateUserId;
    @ApiModelProperty("创建时间")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    protected Date createTime;
    @ApiModelProperty("更新时间")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    protected Date updateTime;
    @ApiModelProperty(value = "店铺id")
    private Long shopId;
    @ApiModelProperty(value = "审核状态：0审核中，1审核通过，2审核打回，3审核不通过,4重新提交")
    private Integer auditStatus;
    @ApiModelProperty(value = "商品id")
    private Long commodityId;
    @ApiModelProperty(value = "店铺名称")
    private String shopName;
    @ApiModelProperty(value = "商品名称")
    private String commodityName;
    @ApiModelProperty(value = "系统用户名称")
    private String sysUserName;
    @ApiModelProperty(value = "打回原因")
    private String returnReason;
    @ApiModelProperty(value = "审核人name")
    private String userName;
    @ApiModelProperty(value = "审核内容")
    private String params;
    @ApiModelProperty(value = "审核内容对象")
    private CommodityRegardVO commodityRegardVO;
}
